package com.shxy.rlzy.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author tanhao
 * @since 2022-03-19
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("emp_salary_task_depart")
public class SalaryTaskDepart extends BaseEntity {

    private static final long serialVersionUID = 1L;

    private Long taskId;

    private Long departId;
    @TableField(exist = false)
    private String departName;

    private Double bonus;

    @TableField(exist = false)
    private SalaryTask task;    // 任务

    @TableField(exist = false)
    private Depart depart;      // 部门
}
